package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * 物品对象 w_good
 *
 * @author ruoyi
 * @date 2022-01-06
 */
@Data
@ApiModel(value = "WGood", description = "物品对象 w_good")
public class WGood extends BaseEntity{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @ApiModelProperty(value = "${comment}")
    private Long id;

    /** 客户ID */
    @Excel(name = "客户ID")
    @ApiModelProperty(value = "客户ID")
    private Long customerId;

    /** 客户名称 */
    @Excel(name = "客户名称")
    @ApiModelProperty(value = "客户名称")
    private String customerName;

    /** 公司ID 也是部门id */
    @Excel(name = "公司ID 也是部门id")
    @ApiModelProperty(value = "公司ID 也是部门id")
    private Long deptId;

    /** 公司名称 */
    @Excel(name = "公司名称")
    @ApiModelProperty(value = "公司名称")
    private String deptName;

    /** 物品名称 */
    @Excel(name = "物品名称")
    @ApiModelProperty(value = "物品名称")
    private String goodsName;

    /** pn */
    @Excel(name = "pn")
    @ApiModelProperty(value = "pn")
    private String pn;

    /** comment */
    @Excel(name = "comment")
    @ApiModelProperty(value = "comment")
    private String comment;

    /** dimension */
    @Excel(name = "dimension")
    @ApiModelProperty(value = "dimension")
    private String dimension;

    /** footprint */
    @Excel(name = "footprint")
    @ApiModelProperty(value = "footprint")
    private String footprint;

    /** manufacture */
    @Excel(name = "manufacture")
    @ApiModelProperty(value = "manufacture")
    private String manufacture;

    /** 总来数量 */
    @Excel(name = "总来数量")
    @ApiModelProperty(value = "总来数量")
    private Long totalNumber;

    /** 总使用数量 */
    @Excel(name = "总使用数量")
    @ApiModelProperty(value = "总使用数量")
    private Long userNumber;

    /** 库存数量 */
    @Excel(name = "库存数量")
    @ApiModelProperty(value = "库存数量")
    private Long number;

    /** 锁定数量 */
    @Excel(name = "锁定数量")
    @ApiModelProperty(value = "锁定数量")
    private Long lockNumber;

    public void setId(Long id){
        this.id = id;
    }

    public Long getId(){
        return id;
    }
    public void setCustomerId(Long customerId){
        this.customerId = customerId;
    }

    public Long getCustomerId(){
        return customerId;
    }
    public void setCustomerName(String customerName){
        this.customerName = customerName;
    }

    public String getCustomerName(){
        return customerName;
    }
    public void setDeptId(Long deptId){
        this.deptId = deptId;
    }

    public Long getDeptId(){
        return deptId;
    }
    public void setDeptName(String deptName){
        this.deptName = deptName;
    }

    public String getDeptName(){
        return deptName;
    }
    public void setGoodsName(String goodsName){
        this.goodsName = goodsName;
    }

    public String getGoodsName(){
        return goodsName;
    }
    public void setPn(String pn){
        this.pn = pn;
    }

    public String getPn(){
        return pn;
    }
    public void setComment(String comment){
        this.comment = comment;
    }

    public String getComment(){
        return comment;
    }
    public void setDimension(String dimension){
        this.dimension = dimension;
    }

    public String getDimension(){
        return dimension;
    }
    public void setFootprint(String footprint){
        this.footprint = footprint;
    }

    public String getFootprint(){
        return footprint;
    }
    public void setManufacture(String manufacture){
        this.manufacture = manufacture;
    }

    public String getManufacture(){
        return manufacture;
    }
    public void setTotalNumber(Long totalNumber){
        this.totalNumber = totalNumber;
    }

    public Long getTotalNumber(){
        return totalNumber;
    }
    public void setUserNumber(Long userNumber){
        this.userNumber = userNumber;
    }

    public Long getUserNumber(){
        return userNumber;
    }
    public void setNumber(Long number){
        this.number = number;
    }

    public Long getNumber(){
        return number;
    }
    public void setLockNumber(Long lockNumber){
        this.lockNumber = lockNumber;
    }

    public Long getLockNumber(){
        return lockNumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("customerId", getCustomerId())
            .append("customerName", getCustomerName())
            .append("deptId", getDeptId())
            .append("deptName", getDeptName())
            .append("goodsName", getGoodsName())
            .append("pn", getPn())
            .append("comment", getComment())
            .append("dimension", getDimension())
            .append("footprint", getFootprint())
            .append("manufacture", getManufacture())
            .append("totalNumber", getTotalNumber())
            .append("userNumber", getUserNumber())
            .append("number", getNumber())
            .append("lockNumber", getLockNumber())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
